﻿/*

  The contents of this file are subject to the Mozilla Public License Version
  1.1 (the "License"); you may not use this file except in compliance with
  the License. You may obtain a copy of the License at 
  
           http://www.mozilla.org/MPL/ 
  
  Software distributed under the License is distributed on an "AS IS" basis,
  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  for the specific language governing rights and limitations under the License. 
  
  The Original Code is ASGard Framework.
  
  The Initial Developer of the Original Code is
  ALCARAZ Marc (aka eKameleon)  <ekameleon@gmail.com>.
  Portions created by the Initial Developer are Copyright (C) 2004-2009
  the Initial Developer. All Rights Reserved.
  
  Contributor(s) :
  
*/

package libraries.zip 
{
    /**
     * The enumeration of all compression method of the zip files.
     */
    public class ZipCompression 
    {
        /**
         * Compression level "none" (0).
         */
        public static const NONE:int = 0 ;
        
        /**
         * Compression level "shrunk" (1).
         */
        public static const SHRUNK:int = 1 ;
        
        /**
         * Compression level "reduced 1" (2).
         */
        public static const REDUCED_1:int = 2 ;
        
        /**
         * Compression level "reduced 2" (3).
         */
        public static const REDUCED_2:int = 3 ;
        
        /**
         * Compression level "reduced 3" (4).
         */
        public static const REDUCED_3:int = 4 ;
        
        /**
         * Compression level "reduced 4" (5).
         */
        public static const REDUCED_4:int = 5 ;
        
        /**
         * Compression level "imploded" (6).
         */
        public static const IMPLODED:int = 6 ;
        
        /**
         * Compression level "tokenized" (7).
         */
        public static const TOKENIZED:int = 7 ;
        
        /**
         * Compression level "deflated" (8).
         */
        public static const DEFLATED:int = 8 ;
        
        /**
         * Compression level "deflated ext" (9).
         */
        public static const DEFLATED_EXT:int = 9 ;
        
        /**
         * Compression level "imploded pkware" (10).
         */
        public static const IMPLODED_PKWARE:int = 10 ;
    }
}
